package com.xhwl.data.pojo.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelIgnore;
import cn.afterturn.easypoi.handler.inter.IExcelDataModel;
import cn.afterturn.easypoi.handler.inter.IExcelModel;
import lombok.Data;

@Data
public class PermissionExcelVO implements IExcelModel, IExcelDataModel {

    @Excel(name = "编号", height = 30, width = 30)
    private Integer id;


    @Excel(name = "名称", height = 30, width = 30)
    private String name;


    @Excel(name = "编码", height = 30, width = 30)
    private String code;


    @Excel(name = "appId", height = 30, width = 30)
    private String appIdStr;


    @Excel(name = "菜单类型（0控件，1页面, 2目录）", height = 30, width = 30)
    private Short menuType;

    @Excel(name = "业态场景", height = 30, width = 30)
    private String sceneNames;

    @Excel(name = "业态场景code", height = 30, width = 30)
    private String sceneCode;

    @Excel(name = "默认勾选（true是，false否）", height = 30, width = 30)
    private Boolean defaultSelect;


    @Excel(name = "是否内嵌（true是，false否）", height = 30, width = 30)
    private Boolean isEmbed;


    @Excel(name = "默认展示（true是，false否）", height = 30, width = 30)
    private Boolean defaultShow;


    @Excel(name = "层级", height = 30, width = 30)
    private Integer level;


    @Excel(name = "排序", height = 30, width = 30)
    private Integer sortNum;


    @Excel(name = "父级id", height = 30, width = 30)
    private Integer parentId;


    @Excel(name = "是否删除（true是，false否）", height = 30, width = 30)
    private Boolean isDeleted;


    @Excel(name = "权限类型（2管理，3业务）", height = 30, width = 30)
    private Short type;


    @Excel(name = "二级标题", height = 30, width = 30)
    private String remark;


    @Excel(name = "图标", height = 30, width = 30)
    private String iconUrl;


    @Excel(name = "链接", height = 30, width = 30)
    private String menuUrl;

    @ExcelIgnore
    private String errorMsg;

    @ExcelIgnore
    private Integer rowNum;

}
